//
//  QLayerBlending.h
//  ImageEffect
//
//  Created by lichq on 14-1-14.
//  Copyright (c) 2014年 lichq. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QLayerBlending : NSObject

/*
unsigned char layerMultiply(unsigned char a, unsigned char b);

unsigned char layerDarken(unsigned char a, unsigned char b);
unsigned char layerLighten(unsigned char a, unsigned char b);

unsigned char layerBurn(unsigned char a, unsigned char b);
unsigned char layerDodge(unsigned char a, unsigned char b);

unsigned char layerLinearBurn(unsigned char a, unsigned char b);
unsigned char layerLinearDodge(unsigned char a, unsigned char b);

unsigned char layerScreen(unsigned char a, unsigned char b);
unsigned char layerOverlay(unsigned char a, unsigned char b);

unsigned char layerSoftLight(unsigned char a, unsigned char b);
unsigned char layerHardLight(unsigned char a, unsigned char b);
unsigned char layerVividLight(unsigned char a, unsigned char b);
unsigned char layerLinearLight(unsigned char a, unsigned char b);
unsigned char layerPinLight(unsigned char a, unsigned char b);

unsigned char layerHardMix(unsigned char a, unsigned char b);
unsigned char layerDifference(unsigned char a, unsigned char b);
unsigned char layerExclusion(unsigned char a, unsigned char b);
*/


unsigned char* mixedPixel_layerMultiply(unsigned char *imagePixel1, unsigned char *imagePixel2, int w, int h);
unsigned char* mixedPixel_layerDarken(unsigned char *imagePixel1, unsigned char *imagePixel2, int w, int h);


@end
